package ooday01;

public class ConsTest {
    public static void main(String[] args) {

        Car bm = new Car();
        bm.brand = "宝马";
        bm.color = "黑";
        bm.price = 800000;
        bm.capacity = 7;
        bm.start();
        bm.run();
        bm.stop();

        Car ad = new Car("奥迪","红",666666.66,7);
        ad.start();
        ad.run();
        ad.stop();

    }
}
